﻿#pragma once


// CMplayer 对话框

class CMplayer : public CDialogEx
{
	DECLARE_DYNAMIC(CMplayer)

public:
	CMplayer(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CMplayer();

	// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_Mplayer };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedexitbtn();
	afx_msg void OnBnClickedfilechoice();
	afx_msg void OnEnChangeEdit1();
	afx_msg void OnBnClickedplay();
	afx_msg void OnBnClickedpause();
	afx_msg void OnBnClickedstop();
	CString a;
	CEdit m_edt;
	afx_msg void OnDropFiles(HDROP hDropInfo);
	afx_msg void OnEnChangefilename();
	CString GetFileName(CString csFilePath);
	CString startChoice;
	CString startDrop;

	afx_msg void OnLbnSelchangeList1();
	virtual BOOL OnInitDialog();
	afx_msg void OnLvnItemchangedList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnLvnItemchangedList3(NMHDR* pNMHDR, LRESULT* pResult);
	CListCtrl m_MusicList;
};
